<?php
return [
    'components' => [
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=db.035.ikang.com;dbname=fenxiao',
            'username' => 'peter',
            'password' => 'iljudy',
            'tablePrefix' => 'oc_',
            'charset' => 'utf8',
        ],
        // REDIS
        'redis' => [
            'class' => 'yii\redis\Connection',
            'hostname' => 'mis-redis.ikang.com',
            'port' => 6379,
            'password'=> NULL,
            'database' => 2,
        ],
        'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            'viewPath' => '@common/mail',
        ],
    ],
];
